<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Migrate extends MY_Controller {

  function __construct(){
    parent::__construct();
    if(!$this->ion_auth->in_group("admin") AND $this->input->get("pass") != "ragther"){
      show_404();
    }
  }

  function index(){
    $this->migration->current();
    echo("Success!");
    die;
  }
}